<template>
  <div class="component-order">
    <div class="component-order-box">
      <div class="box">
        <div class="title">进行中的订单</div>
        <div class="desc">看看你的订单到达了哪里</div>
      </div>
      <div class="modified-icon"></div>
    </div>
    <div class="component-order-list">
      <div class="item">
        <div class="item-orderId">订单id：a3g9d8vs92ks8</div>
        <div class="item-desc">冰咖啡，烤面包</div>
        <div class="item-address">在万隆咖啡店取货...</div>
        <div class="item-price">
          总计：32.50
          <div class="button">带走</div>
        </div>
      </div>
    </div>
  </div>
</template>


<style lang="less" scoped>
.component-order {
  min-height: calc(100vh - 100px);
  background: url("~@/assets/images/pureImg.jpg");
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 96px;
  box-sizing: border-box;
  &-box {
    .box {
      .title {
        font-size: 46px;
        font-family: Helvetica;
        color: #ffffff;
        line-height: 62px;
      }
      .desc {
        font-size: 28px;
        font-family: Helvetica;
        color: #ffffff;
        line-height: 34px;
        margin-top: 16px;
      }
    }
  }
  &-list {
    .item {
      margin-top: 40px;
      background: #ffffff;
      box-shadow: 0px 64px 100px 0px rgba(0, 0, 0, 0.06);
      border-radius: 8px;
      padding: 32px;
      &-orderId {
        font-size: 24px;
        font-family: Helvetica;
        color: #333333;
        line-height: 28px;
        padding-bottom: 34px;
        border-bottom: 2px solid #dee2ee;
      }
      &-desc {
        font-size: 28px;
        font-family: Helvetica;
        color: #000000;
        max-height: 84px;
        line-height: 42px;
        padding-top: 34px;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        /* 控制行数 可修改为3行、4行 */
        -webkit-line-clamp: 2;
        margin-bottom: 34px;
        word-break: break-all;
      }
      &-address {
        height: 78px;
        padding: 0 18px;
        background: #fff6f0;
        border-radius: 8px;
        font-size: 28px;
        display: flex;
        align-items: center;
        margin-bottom: 34px;
      }
      &-price {
        font-size: 32px;
        font-family: Helvetica;
        color: #442916;
        line-height: 32px;
        display: flex;
        padding-top: 34px;
        border-top: 2px solid #dee2ee;
        justify-content: space-between;
        color: #442916;
        font-size: 32px;
        .button {
          color: rgb(0, 147, 255);
          font-size: 24px;
        }
      }
    }
  }
}
</style>
